package com.fch.buffetorder.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @program: BuffetOrder
 * @description: 用户类
 * @CreatedBy: fch
 * @create: 2022-10-14 22:47
 **/
@Data
public class User implements Serializable {

    @ApiModelProperty(value = "用户id", position = 1)
    private Integer userId;
    @ApiModelProperty(value = "openid", position = 2)
    private String openId;
    @ApiModelProperty(value = "昵称", position = 3)
    private String nickName;
    @ApiModelProperty(value = "头像地址", position = 4)
    private String avatarPath;
    @ApiModelProperty(value = "是否可用", position = 5)
    private Integer isEnable;
    @ApiModelProperty(value = "余额", position = 6)
    private BigDecimal money;
}
